<template>
    <view>
        <video class="video" autoplay :src="info.url"></video>
    </view>
</template>

<script>
export default {
    data() {
        return {
            info: {}
        }
    },
    onLoad(options) {
        this.info = options.url
        console.log(this.info)
    }
}
</script>
<style lang="scss" scoped>
.video {
    width: 100%;
    height: 100vh;
    //#ifdef H5
    height: calc(100vh - 44px);
    //#endif
}
</style>
